package org.znxs.aiCodeGenerate.config;

import com.mybatisflex.core.keygen.IKeyGenerator;
import org.znxs.aiCodeGenerate.utils.IdGenerator;

public class UUIDKeyGenerator implements IKeyGenerator {

    @Override
    public Object generate(Object entity, String keyColumn) {
        return IdGenerator.generateId();
    }
}